<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/common/_container :: htmlhead"></head>
<body>
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal">
		
			<input type="hidden" id="examClassValues" th:value="${subject.examClass}"/>
			<input type="hidden" id="id" th:value="${subject.id}"/>
			<input type="hidden" id="catagoryIdValues" th:value="${subject.catagoryId}"/>
			
			<div class="row">
				<div class="col-sm-6 b-r">
					<div class="form-group">
					    <label class="col-sm-3 control-label">题目内容
							<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="content"  type="text" th:value="${subject.content}" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				<div class="col-sm-6">
					<div class="form-group">
						<label class="col-sm-3 control-label">题目类型
							<span style="color: red">*</span>
						</label>
						<div class="col-sm-9">
							<select class="form-control" id="examClass">
								<option value="1">单选题</option>
								<option value="2">多选题</option>
								<option value="3">判断题</option>
							</select>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				<div class="col-sm-6 b-r">
					<div class="form-group">
					    <label class="col-sm-3 control-label">题目答案
							<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="answer"  type="text" th:value="${subject.answer}" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				<div class="col-sm-6">
					<div class="form-group">
						<label class="col-sm-3 control-label">课程
							<span style="color: red">*</span>
						</label>
						<div class="col-sm-9">
							<select class="form-control" id="catagoryId">
								<option value="">---请选择检查表名称----</option>
								<option th:each="code,iterStat:${questClassList}" th:value="${code.id}" th:text="${code.className}"></option>
							</select>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				
				 <div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">备注
							<span style="color: red"></span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="remark"  type="text" th:value="${subject.remark}" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				<div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">帮助
							<span style="color: red"></span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="helps"  type="text" th:value="${subject.helps}" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				
			</div>

			

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
	               	 <button type="button" class="btn btn-info" id="ensure" onclick="SubjectsInfoDlg.editSubmit()" >
						   <i class="fa fa-check"></i>&nbsp;提交
					</button>
					<button type="button" class="btn btn-danger"  id="cancel" onclick="SubjectsInfoDlg.close()" >
						   <i class="fa fa-eraser"></i>&nbsp;取消
					</button>                   
                </div>
			</div>
		</div>

	</div>
</div>
<script th:src="@{/static/modular/subjects/subjects/subjects_info.js}"></script>
</body>
</html>


